package com.xuexiang.xuidemo.ability;

import com.xuexiang.xuidemo.slice.button.*;
import ohos.aafwk.content.Intent;

/**
 * 按钮功能主界面
 */
public class ButtonAbility extends BaseAbility {

    @Override
    protected void onStart(Intent intent) {
        super.onStart(intent);
        super.setMainRoute(ButtonMainAbilitySlice.class.getName());
//        addActionRoute(Intent.ACTION_QUERY_WEATHER, UnifiedButtonSlice.class.getName());
//        addActionRoute(Intent.ACTION_QUERY_WEATHER, ShadowButtonSlice.class.getName());
//        addActionRoute(Intent.ACTION_QUERY_WEATHER, RoundButtonSlice.class.getName());
//        addActionRoute(Intent.ACTION_QUERY_WEATHER, CommButtonSlice.class.getName());
//        addActionRoute(Intent.ACTION_QUERY_WEATHER, SwitchButtonSlice.class.getName());
//        addActionRoute(Intent.ACTION_QUERY_WEATHER, GoodButtonSlice.class.getName());
        // 配置此ACTION,以便支持导航到该页面
        //addActionRoute(Intent.ACTION_QUERY_WEATHER, xxx.class.getName());
    }


}
